package com.dnndo.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 学校实体类
 */
@Data
@TableName("schools")
public class School {

    /**
     * 学校ID
     */
    @TableId(value = "school_id")
    private Integer schoolId;

    /**
     * 学校名称
     */
    @TableField("school_name")
    private String schoolName;

    /**
     * 学校英文名称
     */
    @TableField("school_name_en")
    private String schoolNameEn;

    /**
     * 主管部门
     */
    @TableField("supervisory_department")
    private String supervisoryDepartment;

    /**
     * 学校标识符
     */
    @TableField("school_identifier")
    private String schoolIdentifier;

    /**
     * 省份
     */
    @TableField("province")
    private String province;

    /**
     * 城市
     */
    @TableField("city")
    private String city;

    /**
     * 院校特征
     */
    @TableField("characteristics")
    private String characteristics;

    /**
     * 办学层次
     */
    @TableField("level")
    private String level;

    /**
     * 学校网址
     */
    @TableField("school_website")
    private String schoolWebsite;

    /**
     * 学校VIS
     */
    @TableField("school_vis")
    private String schoolVis;

    /**
     * 学校logo
     */
    @TableField("school_logo")
    private String schoolLogo;

    /**
     * 学校简介
     */
    @TableField("school_introduction")
    private String schoolIntroduction;

    /**
     * 学校照片地址
     */
    @TableField("photo_url")
    private String photoUrl;

    /**
     * 录入时间
     */
    @TableField("insert_time")
    private Date insertTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;

    /**
     * 是否合作
     */
    @TableField("cooperate_or")
    private Boolean cooperateOr;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    @Override
    public String toString() {
        return "School{" +
                "schoolId=" + schoolId +
                ", schoolName='" + schoolName + '\'' +
                ", schoolNameEn='" + schoolNameEn + '\'' +
                ", supervisoryDepartment='" + supervisoryDepartment + '\'' +
                ", schoolIdentifier='" + schoolIdentifier + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", characteristics='" + characteristics + '\'' +
                ", level='" + level + '\'' +
                ", schoolWebsite='" + schoolWebsite + '\'' +
                ", schoolVis='" + schoolVis + '\'' +
                ", schoolLogo='" + schoolLogo + '\'' +
                ", schoolIntroduction='" + schoolIntroduction + '\'' +
                ", photoUrl='" + photoUrl + '\'' +
                ", insertTime=" + insertTime +
                ", cooperateOr=" + cooperateOr +
                ", remark='" + remark + '\'' +
                '}';
    }
}
